package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.domain.Orders;
import com.itheima.dto.OrdersDto;

public interface OrderService extends IService<Orders> {

    //用户下单
    void submit(Orders orders);

    Page<OrdersDto> orderPage(Integer page, Integer pageSize);

    Page<OrdersDto> findByPage(Integer page, Integer pageSize, Long number, String beginTime, String endTime);

    void again(OrdersDto ordersDto);
}